package org.sy.lab.多线程基础._1_管理._5_局部变量;

import java.util.concurrent.TimeUnit;

public class Main {

	public static void main(String[] args) {
		
		MyThread unsafeThread = new MyThread();
		for (int i = 0; i < 5; i++) {
			Thread myThread = new Thread(unsafeThread);
			myThread.start();
			try {
				TimeUnit.SECONDS.sleep(1);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
		}
	}
}
